package com.jiyun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiyun.model.Paper;
import com.jiyun.model.QuizPaper;
import com.jiyun.model.RaceInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/* *
 * @Author nxj
 * @Date 2023 08 2023/8/9 16 13
 * */
public interface QuizPaperMapper extends BaseMapper<QuizPaper> {
    @Select("select count(*) from paper where id in (select pid from quiz_paper where qid=#{id})")
    Integer findCount(Integer id);
}
